# install and load required packages if (!require("pacman")) install.packages("pacman", repos = 'https://urldefense.com/v3/__http://cran.us.r-project.org__;!!BZ50a36bapWJ!tUMnSICYeZyTygRbcGiNHhiPIQYzCTZ2_LlD3U57vOqiGH8Hj5xvxKUnqSL4VcVz5wzwfGxklW15LAG56DohAgca$ ') p_load( "tidyverse", "here", "broom", "latex2exp", "ggrepel", "harrypotter", "glue", "kableExtra", "scales" ) # set options for the whole document knitr::opts_chunk$set( fig.align = "center", message = FALSE, warning = FALSE, echo = TRUE ) ggplot2::theme_set( theme_minimal() + theme(legend.position = "bottom") ) # source R scripts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.